import QtQuick 1.0
Rectangle {
    id: rectangle1

    width: 300
    height: 30
    smooth: true
    property alias textInput : inputId
    property alias text : inputId.text
    property alias inputMask : inputId.inputMask
    property alias validator : inputId.validator


    gradient: Gradient {
        GradientStop { position: 0.0; color: "lightgray" }
        GradientStop { position: 1.0; color: "white" }
    }

    radius: 7
    border.color: inputId.focus ?  "#F0A512" : "transparent"
    border.width: 2

    TextInput {
        id:inputId
        width: 277
        text: "test"
        anchors.left: parent.left
        anchors.leftMargin: 10
        anchors.verticalCenter: parent.verticalCenter

    }

}
